package com.cavy.platform.server.mapper;

import com.cavy.platform.server.domain.WorkSpace;
import com.cavy.platform.server.dto.WorkSpaceCreateDto;
import com.cavy.platform.server.dto.WorkSpaceDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface WorkSpaceMapper {

    WorkSpaceMapper INSTANCE = Mappers.getMapper(WorkSpaceMapper.class);

    WorkSpace convertTo(WorkSpaceCreateDto dto);

    WorkSpaceDto converToSpaceDto(WorkSpace space);
}
